package com.dfrz.ch02;/*
 * @创建者：黄苟苟
 * @创建时间：2021/6/7   20:21
 * @Description描述
 **/

public class TestTypeCode {
    public static void main(String[] args) {

        int num = 20320;
        short sh = 32767;
        sh = (short) num;
        char ch = '你';
        ch = 20320;
        ch = (char) num;
        short sh2 = 20, sh3 = 30;
        sh = (short) (sh2 + sh3);
        sh2 = (short) (sh2 + 10);
        sh2 += 10;

    }
}
